package com.wpml.product.fallback;

import com.wpml.common.util.ResultJson;
import com.wpml.coupon.api.CouponFeignClient;
import com.wpml.coupon.to.SkuReductionTo;
import com.wpml.coupon.to.SpuBoundTo;
import org.springframework.stereotype.Component;

/**
 * @description:
 * @author: wp
 * @date: 2020/5/27
 **/
@Component
public class CouponClientFallback extends CouponFeignClient.CouponFeignClientFallback {
    @Override
    public ResultJson saveSpuBounds(SpuBoundTo spuBoundTo) {
        return super.defaultFallback();
    }

    @Override
    public ResultJson saveSkuReduction(SkuReductionTo skuReductionTo) {
        return super.defaultFallback();
    }
}
